package cn.com.guage.dtm.metadata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * MD定义对象 md_table
 * 
 * @author liujun
 * @date 2021-06-28
 */
public class MdTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系统Id */
    private Long tableId;

    /** 表代码 */
    @Excel(name = "表代码")
    private String tableCode;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 表说明 */
    @Excel(name = "表说明")
    private String tableContent;

    /** 数据量级单位。K,M,G,T */
    @Excel(name = "数据量级单位。K,M,G,T")
    private String recordCountUnit;

    /** 数据量级。如果不足1K，则输入0，量级单位选择0。 */
    @Excel(name = "数据量级。如果不足1K，则输入0，量级单位选择0。")
    private Long recordCount;

    /** 功能模块id */
    @Excel(name = "功能模块id")
    private Long moduleId;

    /** 功能模块代码 */
    @Excel(name = "功能模块代码")
    private String moduleCode;

    /** 功能模块名称 */
    @Excel(name = "功能模块名称")
    private String moduleName;

    /** 系统id */
    @Excel(name = "系统id")
    private Long sysId;

    /** 系统代码 */
    @Excel(name = "系统代码")
    private String sysCode;

    /** 系统名称 */
    @Excel(name = "系统名称")
    private String sysName;

    public void setTableId(Long tableId) 
    {
        this.tableId = tableId;
    }

    public Long getTableId() 
    {
        return tableId;
    }
    public void setTableCode(String tableCode) 
    {
        this.tableCode = tableCode;
    }

    public String getTableCode() 
    {
        return tableCode;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setTableContent(String tableContent) 
    {
        this.tableContent = tableContent;
    }

    public String getTableContent() 
    {
        return tableContent;
    }
    public void setRecordCountUnit(String recordCountUnit) 
    {
        this.recordCountUnit = recordCountUnit;
    }

    public String getRecordCountUnit() 
    {
        return recordCountUnit;
    }
    public void setRecordCount(Long recordCount) 
    {
        this.recordCount = recordCount;
    }

    public Long getRecordCount() 
    {
        return recordCount;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setModuleCode(String moduleCode) 
    {
        this.moduleCode = moduleCode;
    }

    public String getModuleCode() 
    {
        return moduleCode;
    }
    public void setModuleName(String moduleName) 
    {
        this.moduleName = moduleName;
    }

    public String getModuleName() 
    {
        return moduleName;
    }
    public void setSysId(Long sysId) 
    {
        this.sysId = sysId;
    }

    public Long getSysId() 
    {
        return sysId;
    }
    public void setSysCode(String sysCode) 
    {
        this.sysCode = sysCode;
    }

    public String getSysCode() 
    {
        return sysCode;
    }
    public void setSysName(String sysName) 
    {
        this.sysName = sysName;
    }

    public String getSysName() 
    {
        return sysName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tableId", getTableId())
            .append("tableCode", getTableCode())
            .append("tableName", getTableName())
            .append("tableContent", getTableContent())
            .append("recordCountUnit", getRecordCountUnit())
            .append("recordCount", getRecordCount())
            .append("moduleId", getModuleId())
            .append("moduleCode", getModuleCode())
            .append("moduleName", getModuleName())
            .append("sysId", getSysId())
            .append("sysCode", getSysCode())
            .append("sysName", getSysName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
